import React from 'react';
import { Button, Modal } from 'dw-mx';

export default function Child(props) {
    return <div style={{ height: 300, border: '2px solid blue' }}>
        <h1>内容自身高度300px</h1>
        <div>姓名:{props.xm}</div>
        <div>年龄:{props.age}</div>
    </div>;
}